#ifndef _ItemInfoDialog_h_
#define _ItemInfoDialog_h_

#include "Global.h"
#include "../item/Item.h"

class ItemInfoDialog : public ModelDialog, public DynamicClass
{
	DECLARE_CLASS(ItemInfoDialog)
public:
	ItemInfoDialog(void);
	~ItemInfoDialog(void);
	bool init();
	void refresh();
	void touchScreen();
	cocos2d::CCSprite* m_pBg;
	Item* m_pIcon;
	CCLabelTTF* m_pName;
	CCLabelTTF* m_pType;
	CCLabelTTF* m_pLevel;
	CCLabelTTF* m_pProperty;
	CCLabelTTF* m_pPropertyTitle;
	CREATE_FUNC(ItemInfoDialog)
private:
	void menuEquipCallback(CCObject* pSender);
	void menuSellCallback(CCObject* pSender);
	void menuUpgradeCallback(CCObject* pSender);

};

#endif